package com.wchat.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @author : willian fu
 * @date : 2021/8/31
 */
public interface MediaTransferService {

    Object uploadAvatar(MultipartFile file);

    void getImage(HttpServletResponse rsp, Boolean isAvatar, String fileName);

    void getResource(HttpServletResponse rsp, String fileName);

    Object uploadFile(MultipartFile file);

    Object uploadImage(MultipartFile file);

}
